package com.qf.miaosha_service.dao;

import com.qf.miaosha_service.entity.Seckill;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface SeckillMapper extends Mapper<Seckill> {

    @Select("SELECT * FROM seckill WHERE sum >0")
    Seckill findBySun();
}
